home *** CD-ROM | disk | FTP | other *** search
- from PSPApp import *
-
- def ScriptProperties():
- return {
- 'Author': 'Angela M. Cable',
- 'Copyright': '2003, for freeware distribution only',
- 'Description': "Mosaic effect.",
- 'Host': 'Paint Shop Pro',
- 'Host Version': '8.00'
- }
-
- def Do(Environment):
- App.Do( Environment, 'LayerDuplicate', {
- 'GeneralSettings': {
- 'ExecutionMode': App.Constants.ExecutionMode.Default
- }
- })
-
- App.Do( Environment, 'BrushStrokes', {
- 'Angle': 311,
- 'Bristles': 175,
- 'Color': (0,0,0),
- 'Density': 45,
- 'Length': 9,
- 'Opacity': 10,
- 'Softness': 4,
- 'Width': 2,
- 'GeneralSettings': {
- 'ExecutionMode': App.Constants.ExecutionMode.Silent,
- 'PreviewVisible': App.Constants.Boolean.true,
- 'AutoProof': App.Constants.Boolean.false
- }
- })
-
- App.Do( Environment, 'EnhanceEdgesMore', {
- 'GeneralSettings': {
- 'ExecutionMode': App.Constants.ExecutionMode.Default
- }
- })
-
- App.Do( Environment, 'AddNoise', {
- 'Amount': 15,
- 'Type': 2,
- 'Monochrome': App.Constants.Boolean.true,
- 'GeneralSettings': {
- 'ExecutionMode': App.Constants.ExecutionMode.Silent,
- 'PreviewVisible': App.Constants.Boolean.true,
- 'AutoProof': App.Constants.Boolean.false,
- 'RandomSeed': 3167120
- }
- })
-
- App.Do( Environment, 'Dilate', {
- 'GeneralSettings': {
- 'ExecutionMode': App.Constants.ExecutionMode.Default
- }
- })
-
- App.Do( Environment, 'EnhanceEdgesMore', {
- 'GeneralSettings': {
- 'ExecutionMode': App.Constants.ExecutionMode.Default
- }
- })
-
- App.Do( Environment, 'LayerProperties', {
- 'General': {
- 'Opacity': 51,
- 'Name': None,
- 'IsVisible': None,
- 'IsTransparencyLocked': None,
- 'LinkSet': None,
- 'UseHighlight': None,
- 'PaletteHighlightColor': None,
- 'GroupLink': None,
- 'BlendMode': None
- },
- 'BlendRanges': None,
- 'Path': (0,0,[],App.Constants.Boolean.false),
- 'BrightnessContrast': None,
- 'ChannelMixer': None,
- 'ColorBalance': None,
- 'CurveParams': None,
- 'HSL': None,
- 'Threshold': None,
- 'Levels': None,
- 'Posterize': None,
- 'Mask': None,
- 'GeneralSettings': {
- 'ExecutionMode': App.Constants.ExecutionMode.Silent,
- 'PreviewVisible': App.Constants.Boolean.true,
- 'AutoProof': App.Constants.Boolean.false
- }
- })
-
-